home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ IE Timeout 2.xpl < prev    next >
Text File  |  2003-11-19  |  1KB  |  49 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="2"
  3. "COUNT"="1"
  4. "UIPATH"="Internet\Internet Explorer\Timeouts"
  5. "NAME"="Receive Timeout"
  6. "VERSION"="1.01"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Timeout (s)"
  9. "DESCRIPTION 1"="When IE has sucessfully connected to a webserver, it starts counting until the server closes the connection."
  10. "DESCRIPTION 2"="If the server does not close the connection, but does also not sent any data, IE will display a "Receive Timeout" after 5 minutes."
  11. "DESCRIPTION 3"="This timeout value can be configured here."
  12. "DESCRIPTION 4"="To restore the original settings, clear the field."
  13. "AUTHOR"="Xteq Systems"
  14. "CONTACTURL"="http://www.xteq.com"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"=" "
  17.  
  18.  
  19. 'sP1="HKCU\Software\Microsoft\InternetExplorer\Styles\MaxScriptStatements"
  20. sV1="HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ReceiveTimeout"
  21. Sub Plugin_Initialize  
  22.     i=RegReadValue(sV1)
  23.     if IsEmpty(i)=false then
  24.        Call SetUIElement(1,i/1000)
  25.     end if
  26. End Sub
  27.  
  28. Sub Plugin_CheckData(ElementIndex)
  29. End Sub
  30.  
  31. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  32.  i=GetUIElement(1)
  33.  if len(i)=0 then
  34.     If RegValueExists(sV1) then
  35.        Call RegDeleteValue(sV1)
  36.     end if
  37.  else
  38.     i=i*1000
  39.     Call RegWriteValue(sV1,i,2)
  40.  end if
  41.  
  42.  
  43.  
  44.  Call Logoff()
  45. End Sub
  46.  
  47. Sub Plugin_Terminate 
  48. End Sub
  49.